@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'I_FORM'
@Metadata.ignorePropagatedAnnotations: true
define root view entity YPSM0010_I_FORM
  as select from ypsm0010_dt_form
  
  
  //association of exact one to many YPSM0010_I_MENU as _Menu on $projection.FormId = _Menu.FormId
  
  association [1..1] to YPSM0010_I_TEXT as _Text on $projection.FormId = _Text.Formid
                                                and _Text.Language = $session.system_language
                                              
  composition of exact one to many YPSM0010_I_MENU as _Menu
  composition of exact one to many YPSM0010_I_TEXT as _CText
{
  key form_id               as FormId,
      cycle                 as Cycle,
      create_date           as CreateDate,
      create_by             as CreateBy,
      local_last_changed_by as LocalLastChangedBy,
      local_last_changed_at as LocalLastChangedAt,
      last_changed_at       as LastChangedAt,
      _Text.Formtext as Text,
      _Menu,
      _Text,
      _CText

}
